Re: mount from debian to 44bsd, chown bug report?

From: Martin Schlemmer
Date: Sun Dec 28 2003 - 18:54:47 EST


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: signature.asc
Description: This is a digitally signed message part