help with partition

Nils Kassube kassube at gmx.net
Sun Nov 29 15:03:46 UTC 2009


Gary Kirkpatrick wrote:
> On Sun, Nov 29, 2009 at 8:40 AM, Nils Kassube <kassube at gmx.net> wrote:
> > sudo mkdir /media/sda1/$USER
> > sudo chown $USER: /media/sda1/$USER

> For USER I substitute my user name?

Not necessarily but you can do it if you want to. The shell has stored 
your login name in the $USER variable and I used it in the commands 
above so I didn't have to guess your login name. :)

> How do I know where my partition
>  is, or does this simply mean that we are talking about gaining
>  access as a normal user to sda1?

You can find out where it is with the command

mount | grep sda1

where the output might look like

/dev/sda1 on /media/sda1 type ext3 (rw)

where /media/sda1 is the mount point. If you have something different, 
you should replace it in the commands above.


Nils




More information about the ubuntu-users mailing list