You are not logged in.

#1 2008-06-21 15:42:12

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

mounting of partitions

My fstab file is:
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


#/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
#/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=10076b9f-1da4-4220-8b08-9796f8017aea swap swap defaults 0 0
UUID=b86c1325-eacf-4681-abad-e22370433b6d / ext3 defaults 0 1



When I execute "Alt+F2 and /" and browse to media folder in konqueror my partitions sda6 to 12 are not displayed but my windows partition hda5 is displayed.
When I start konqueror and click on storage media , all the partitions are displayed.
Why can't I browse these folders through the run command (Alt+F2) ?

My konsole gives the following:

[sridhar@arch media]$ ls
GOWTHAM  cdrom  disk  disk-1  dvd

Here again all the partitions are not displayed !

Thunar and Rox also don't show these partitions !

Last edited by varaahan (2008-06-21 15:44:13)


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#2 2008-06-21 17:08:40

sniffles
Member
Registered: 2008-01-23
Posts: 275

Re: mounting of partitions

I'm not familiar with KDE and what "ALT+F2 and /" is supposed to do exactly, etc. Could you please post the output of:

mount

and of

fdisk -l /dev/sda

?

Last edited by sniffles (2008-06-21 17:11:11)

Offline

#3 2008-06-21 17:23:50

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: mounting of partitions

Why don't you just put them in fstab, instead of relying on HAL?

Offline

#4 2008-06-22 15:06:58

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: mounting of partitions

lucke wrote:

Why don't you just put them in fstab, instead of relying on HAL?

That's not the point.
When "media:/" command shows all the partitions, why not the "ls /media/ " command ?
Does it mean that :media:/" relies on HAL while the file browser relies on fstab ?
Why not the file browser use HAL for mounting the partitions ?


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#5 2008-06-23 00:35:09

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: mounting of partitions

sniffles wrote:

I'm not familiar with KDE and what "ALT+F2 and /" is supposed to do exactly, etc. Could you please post the output of:

mount

and of

fdisk -l /dev/sda

?

bash-3.2# mount
/dev/sdb5 on / type ext3 (rw)
none on /dev type ramfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
bash-3.2# fdisk -l /dev/sda

Disk /dev/sda: 40.0 GB, 40060403712 bytes
16 heads, 63 sectors/track, 77622 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x90779077

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       36986    18640912+   c  W95 FAT32 (LBA)
/dev/sda2           36987       77621    20480040    f  W95 Ext'd (LBA)
/dev/sda5           36987       77621    20480008+   b  W95 FAT32
bash-3.2#

Of course this is my first IDE hdd.
The second one is a SATA drive.
bash-3.2# fdisk -l /dev/sdb

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x63b963b9

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         243     1951866   82  Linux swap / Solaris
/dev/sdb2             244       19457   154336455    5  Extended
/dev/sdb5   *         244        2675    19535008+  83  Linux
/dev/sdb6            2676        5107    19535008+  83  Linux
/dev/sdb7            5108        7539    19535008+  83  Linux
/dev/sdb8            7540        9971    19535008+  83  Linux
/dev/sdb9            9972       12403    19535008+  83  Linux
/dev/sdb10          12404       14835    19535008+  83  Linux
/dev/sdb11          14836       17267    19535008+  83  Linux
/dev/sdb12          17268       19457    17591143+  83  Linux
bash-3.2#

Last edited by varaahan (2008-06-23 00:37:06)


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#6 2008-06-23 00:39:25

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: mounting of partitions

varaahan wrote:
lucke wrote:

Why don't you just put them in fstab, instead of relying on HAL?

That's not the point.
When "media:/" command shows all the partitions, why not the "ls /media/ " command ?
Does it mean that :media:/" relies on HAL while the file browser relies on fstab ?
Why not the file browser use HAL for mounting the partitions ?

media:/ is an abstraction showing all the partitions you can access and relies on HAL:
for example you may see a partition there, but it might not be mounted (there is a sort of yellow spark for mounted partitions) and when you click it, kde will mount the partition for you.
/media/ is a directory where you see directories where some partitions might be mounted

Offline

#7 2008-06-23 01:51:01

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: mounting of partitions

While we're on the topic of mountpoints, if I set fstab auto-mountpoints for USB sticks and DVDs, will that conflict with the automount HAL (or is it volman) provides for Thunar and XFCE? And why would a USB stick say it's busy when I try to unmount it, even if I haven't moved anything to or from it? Is there a way to force unmount in that case?

Last edited by Basu (2008-06-23 02:06:08)


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

Board footer

Powered by FluxBB