public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mount from debian to 44bsd, chown bug report?
@ 2003-12-28 23:43 Peter Leftwich
  2003-12-28 23:56 ` Martin Schlemmer
  2003-12-29  7:41 ` Tomas Szepe
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Leftwich @ 2003-12-28 23:43 UTC (permalink / raw)
  To: debian-bsd, debian-user, owner-linux-kernel, linux-kernel

Hello everyone.  I am booting up into a bootable Knoppix 3.2 (Debian Linux)
CD-R (www.knoppix.net) and trying to mount my FreeBSD 4.7-RELEASE partition.

The working command-line is:
`mount -t ufs -o ufstype=44bsd /dev/hda2 /mnt/fbsd`

At one time I was naturally able to read/write files to the partition once
it was mounted, but then I chowned the root directory to "knoppix."  Now
here is what's happening:

  # whoami ; mount | grep 44bsd
  root
  /dev/hda2 on /mnt/test type ufs (rw,ufstype=44bsd)

  # ls -al /mnt | grep knoppix
  drwxr-x--x   25 knoppix  root         1024 Dec 18 22:10 /mnt/test

  # grep ufs /proc/filesystems
  ufs

  # chown root /mnt/test
  chown: changing ownership of `test': Read-only file system

The error above contradicts the "mount" info, namely, the "rw" part!!

Is this a BUG?  Might a fix be to give the user "knoppix" the ability
to mount?  Please help me, someone...?

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mount from debian to 44bsd, chown bug report?
  2003-12-28 23:43 mount from debian to 44bsd, chown bug report? Peter Leftwich
@ 2003-12-28 23:56 ` Martin Schlemmer
  2003-12-29  3:21   ` Peter Leftwich
  2003-12-29  7:41 ` Tomas Szepe
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Schlemmer @ 2003-12-28 23:56 UTC (permalink / raw)
  To: Peter Leftwich
  Cc: debian-bsd, debian-user, owner-linux-kernel,
	Linux Kernel Mailing Lists

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

On Mon, 2003-12-29 at 01:43, Peter Leftwich wrote:
> Hello everyone.  I am booting up into a bootable Knoppix 3.2 (Debian Linux)
> CD-R (www.knoppix.net) and trying to mount my FreeBSD 4.7-RELEASE partition.
> 
> The working command-line is:
> `mount -t ufs -o ufstype=44bsd /dev/hda2 /mnt/fbsd`
> 
> At one time I was naturally able to read/write files to the partition once
> it was mounted, but then I chowned the root directory to "knoppix."  Now
> here is what's happening:
> 
>   # whoami ; mount | grep 44bsd
>   root
>   /dev/hda2 on /mnt/test type ufs (rw,ufstype=44bsd)
> 
>   # ls -al /mnt | grep knoppix
>   drwxr-x--x   25 knoppix  root         1024 Dec 18 22:10 /mnt/test
> 
>   # grep ufs /proc/filesystems
>   ufs
> 
>   # chown root /mnt/test
>   chown: changing ownership of `test': Read-only file system
> 
> The error above contradicts the "mount" info, namely, the "rw" part!!
> 

Uhm, if /mnt/test is in a ro filesystem, mounting a partition to it
rw will still not get you to change /mnt/test - sure, you will be
able to chown /mnt/test/foo ....


-- 
Martin Schlemmer

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mount from debian to 44bsd, chown bug report?
  2003-12-28 23:56 ` Martin Schlemmer
@ 2003-12-29  3:21   ` Peter Leftwich
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Leftwich @ 2003-12-29  3:21 UTC (permalink / raw)
  To: Martin Schlemmer
  Cc: debian-bsd, debian-user, owner-linux-kernel,
	Linux Kernel Mailing Lists

On Mon, 29 Dec 2003, Martin Schlemmer wrote:
> Uhm, if /mnt/test is in a ro filesystem, mounting a partition to it
> rw will still not get you to change /mnt/test - sure, you will be
> able to chown /mnt/test/foo ....
> Martin Schlemmer

The first slash "/" of /mnt/test is the root directory and it is mounted rw
(not ro) in ram as a ramdisk.

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mount from debian to 44bsd, chown bug report?
  2003-12-28 23:43 mount from debian to 44bsd, chown bug report? Peter Leftwich
  2003-12-28 23:56 ` Martin Schlemmer
@ 2003-12-29  7:41 ` Tomas Szepe
  1 sibling, 0 replies; 4+ messages in thread
From: Tomas Szepe @ 2003-12-29  7:41 UTC (permalink / raw)
  To: Peter Leftwich; +Cc: debian-bsd, debian-user, owner-linux-kernel, linux-kernel

On Dec-28 2003, Sun, 18:43 -0500
Peter Leftwich <Hostmaster@Video2Video.Com> wrote:

>   # chown root /mnt/test
>   chown: changing ownership of `test': Read-only file system

Does dmesg reveal any clues as to why the fs is readonly?

-- 
Tomas Szepe <szepe@pinerecords.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-29  7:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-28 23:43 mount from debian to 44bsd, chown bug report? Peter Leftwich
2003-12-28 23:56 ` Martin Schlemmer
2003-12-29  3:21   ` Peter Leftwich
2003-12-29  7:41 ` Tomas Szepe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox