gwhere-discussion
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GWhere-discussion] wish: ability of typing path to media by hand


From: Zero
Subject: Re: [GWhere-discussion] wish: ability of typing path to media by hand
Date: Tue, 26 Sep 2006 22:42:30 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20060830)

Hi Sergei and list,

GWhere use the /etc/fstab file in order to mount devices. Otherwise, it use the /etc/mtab file in order to read the already mounted devices. I must study the udev behaviour...

I understand your request about cataloging a subfolder of a disk. I'm looking upon how to integrate it. For example, I must found the appropriate disk type for the cataloged subfolders.

Regards,
Zero

Sergei Butakov wrote:
Hi

Can you send me yours /etc/fstab and /etc/mtab files please ?


# cat /etc/fstab
proc            /proc           proc    defaults        0     0
sysfs           /sys            sysfs   defaults        0     0
devpts          /dev/pts        devpts  gid=4,mode=620  0     0
shm             /dev/shm        tmpfs   size=700m        0     0
tmpfs           /tmp            tmpfs   nosuid,nodev,size=120%  0 0
usbfs           /proc/bus/usb   usbfs   devgid=24,devmode=0660 0 0
/dev/hda1 /mnt/hda1 vfat \ iocharset=cp1251,codepage=866,umask=000 0 0 /dev/hda6 /home ext3 \ defaults,noatime,errors=remount-ro,user_xattr 0 2 /dev/hda7 / ext3 \ defaults,noatime,errors=remount-ro,user_xattr 0 1
/dev/hda9      none     swap    pri=1                           0       0

# cat /etc/mtab
/dev/hda7 / ext3 rw,noatime,errors=remount-ro,user_xattr 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=4,mode=620 0 0
shm /dev/shm tmpfs rw,size=700m 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,size=120% 0 0
usbfs /proc/bus/usb usbfs rw,devgid=24,devmode=0660 0 0
/dev/hda1 /mnt/hda1 vfat rw,iocharset=cp1251,codepage=866,umask=000 0 0
/dev/hda6 /home ext3 rw,noatime,errors=remount-ro,user_xattr 0 0
/dev/PIONEER_DVD-RW_DVR-111D /media/PIONEER_DVD-RW_DVR-111D \
iso9660 ro,noexec,nosuid,nodev,uid=2004,gid=100,iocharset=cp1251 0 0

Hal (and its frontends ivman, gnome-volume-manager, ...) don't use /etc/fstab. When hal mount something (cd, flash, ...) it's visible in /etc/mtab as line above with /media/PIONEER_DVD-RW_DVR-111D. When disk is removed from dvdrom the line /media/PIONEER_DVD-RW_DVR-111D is removed from /etc/mtab too.


Is udev support automount of yours HDDs ?

No.
When I wrote about HDD I bore in mind next. I want catalogize not whole HDD or whole partition but some catalogs only. For example /home/sergei/music/ or /usr/share/doc/ an so on.



--
Best regards,

Zero
Maintainer,

GWhere - Another way to manage your catalogs!!
http://www.gwhere.org






reply via email to

[Prev in Thread] Current Thread [Next in Thread]