BusyBox Mount

2 messages, 2 authors, 2007-08-09 · open the first message on its own page

BusyBox Mount

From: khollan <hidden>
Date: 2007-08-09 18:17:27

Hi

I want to mount the first partion of my compact flash in a users home folder
during bootup.  This partion should be owned by the user and be read write
and executable.  I am using the command:
mount -t vfat /dev/xsa1 /home/Dak
in the rcS startup script.  This works fine but it is owned by the root, if
I try to change the ownership with chown as root it says that Operation not
permitted, if I Chmod to 777 it appears to take but when you ls -l it out it
says that it is onlt rw by the owner root.
Any suggestions
khollan
-- 
View this message in context: http://www.nabble.com/BusyBox-Mount-tf4244254.html#a12077740
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

Re: BusyBox Mount

From: Wolfgang Reissnegger <hidden>
Date: 2007-08-09 18:46:59

Hi Khollan,

try to use:

  mount -t vfat -ouid=uuu,gid=ggg /dev/xsa1 /home/Dak

where uuu is the User ID of your user and ggg is its Group ID.

Cheers,
   Wolfgang




khollan wrote:
Hi

I want to mount the first partion of my compact flash in a users home folder
during bootup.  This partion should be owned by the user and be read write
and executable.  I am using the command:
mount -t vfat /dev/xsa1 /home/Dak
in the rcS startup script.  This works fine but it is owned by the root, if
I try to change the ownership with chown as root it says that Operation not
permitted, if I Chmod to 777 it appears to take but when you ls -l it out it
says that it is onlt rw by the owner root.
Any suggestions
khollan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help