trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Re: [trinity-users] Mounting of DVD, USB

From: Greg Madden <gomadtroll@...>
Date: Sun, 20 Mar 2011 08:57:34 -0800

On Sunday 20 March 2011 03:31:10 am HHa wrote:
> Hi,
> the mounting is not done automatically after inserting/plugging in a
> Medium. My /etc/fstab looks like this:
>
> # /etc/fstab: static file system information.
> #
> # Use 'vol_id --uuid' to print the universally unique identifier for a
> # device; this may be used with UUID= as a more robust way to name devices
> # that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc            /proc           proc    defaults        0       0
> # / was on /dev/sda1 during installation
> UUID=39dce7bc-28c6-4d48-a3e1-b2d48712856e /               ext3
> errors=remount-ro 0       1
> # swap was on /dev/sda5 during installation
> UUID=f5355ad1-6de9-497b-a8d4-e2abe7336d4d none            swap
> sw              0       0
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> proc    /proc   proc    nodev,noexec,nosuid     0       0
> #/dev/sda10     /windows/F      vfat    rw,errors=remount-ro    0       0
> /dev/sda10      /windows/F vfat
> utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 1
> #/dev/sda9      /windows/E      vfat    rw,errors=remount-ro    0       0
> /dev/sda9      /windows/E vfat
> utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 1
> #/dev/sda5      /windows/D      vfat    rw,errors=remount-ro    0       0
> /dev/sda5      /windows/D vfat
> utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 1
> /dev/sda6       /home   ext3    rw,errors=remount-ro    0       0
> /dev/sda1       /windows/C      ntfs    rw,errors=remount-ro    0       0
> /dev/sda2       /       ext4    rw,errors=remount-ro    0       0
> /dev/sda3       /kubuntu        ext3    rw,errors=remount-ro    0       0
> /dev/sda7       /kubuntu/home   ext3    rw,errors=remount-ro    0       0

It might help to use 'UUID' for all your media/partitions.   UUID will ensure the 
same media gets mapped to the same mount points. The command  'blkid' as root in 
a terminal will give you the UUID to use in your fstab.

It looks like you have 10 partitions on one hard drive and you mount them all at 
boot ?  Looks messy to me :-)

-- 
Peace,

Greg