Need some help with my fstab file

Associate
Joined
28 Oct 2002
Posts
1,510
Hi

I am running Ubuntu and my fstab file looks like this:

Code:
=======================================================
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sdb4       /               reiserfs notail,noatime  0       1
/dev/sdb2       /boot           ext2    defaults        0       2
/dev/sdb3       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/sdb1       /media/windows  ntfs    nls=utf8,umask=0222 0       0
/dev/hda1       /mnt/hda1  vfat    iocharset=utf8,umask=000   0       0
/dev/sda1	/media/windows  ntfs    nls=utf8,umask=0222 0       0
/dev/sda5       /media/winstuff  ntfs    nls=utf8,umask=0222 0       0
=========================================================

and fdisk like this:

Code:
========================================================
Disk /dev/sda: 250.0 GB, 250059350016 bytes
16 heads, 63 sectors/track, 484521 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               2      484521   244198080    f  W95 Ext'd (LBA)
/dev/sda5               2      484521   244198048+   7  HPFS/NTFS

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        7649    61440561    7  HPFS/NTFS
/dev/sdb2            7650        7655       48195   83  Linux
/dev/sdb3            7656        7764      875542+  82  Linux swap / Solaris
/dev/sdb4            7765       24321   132994102+  83  Linux

Disk /dev/hda: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        5004    40194598+   c  W95 FAT32 (LBA)

=======================================================

I have 2 icons on my desk top that link to 2 separate hard drives which i THINK relate to these sda and sdb. I am guessing that this is because of something in my fstab file?? Or does some other file do this?

i have a link to hda1 in my /mnt directory.

QUESTION 1 "How do i put a link to HDA1 on the desktop?"

QUESTION 2 "How do i put a link to my DVDROM (CDROM0) on the desktop?"

QUESTION 3 "How do i put a link to my DVD recorder (dvdrecorder) on the desktop?"

many thanks

Diss
 
Places > Computer

Drag all the disks/drives you want onto your desktop, although the CD/DVD drives will appear on the desktop once you insert a disc into them anyway :)

Oh, hda1 won't appear in computer as you've set it to a different mount point, change it to /media/hda1 to keep everything in one nice place.
 
Last edited:
thanks

if i drag them across they have a little padlock on them - how do i get rid of that?

thanks

Diss
 
Back
Top Bottom