lkml.org 
[lkml]   [2003]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mount from debian to 44bsd, chown bug report?
From
Date
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.022 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site