Partitions mounted in /media, data directories off /
Hi, I noticed with Beta4 that my partitions outside my fstab are automatically mounted inside the /media folder. I also notice that there appears to be several /data[x] directories, I think these existed in previous versions. I was hoping someone could give me a few details about these, specifically answers to these questions: 1. Do the mounted /media/disk[x] folders roughly correspond (the [x] appears to be numbered differently) to /data[x]? 2. If so, is there a reason for both to be there? 3. My labeled partition seems to get different permissions: cgroneman@chad2:/media> ll total 5 drwxr-xr-x 4 root root 4096 2006-01-04 20:46 disk drwxr-xr-x 26 root root 648 2006-02-17 19:04 disk-1 drwxr-xr-x 24 root root 592 2006-01-31 23:42 disk-2 drwsrwsrwt 6 root root 136 2006-02-17 19:03 STORAGE Why does STORAGE (the labelled partition) get different permissions than the others? Thanks, Chad
On Sat, Feb 18, 2006 at 11:55:33AM -0700, Chad Groneman wrote:
Hi,
I noticed with Beta4 that my partitions outside my fstab are automatically mounted inside the /media folder. I also notice that there appears to be several /data[x] directories, I think these existed in previous versions.
I was hoping someone could give me a few details about these, specifically answers to these questions:
1. Do the mounted /media/disk[x] folders roughly correspond (the [x] appears to be numbered differently) to /data[x]?
I have not checked it. Look in /etc/fstab what is what in one terminal and `df` in another and compare.
2. If so, is there a reason for both to be there?
/data[X] are the mountpoints in /etc/fstab /media/disk[X] are the mountpoints in the replacement for subfs. So if you want to mount manually, you end up with /data1 and when you use the new system, you get /media/disk1 (if the numbers are the same)
Why does STORAGE (the labelled partition) get different permissions than the others?
No idea. I have not yet looked into this new mounting system, so no idea on how these names can be changed and so on. Not really intended to use it in the future as I am a WindowMaker user. :-) houghi -- Nutze die zeit. Sie ist das Kostbarste was wir haben, denn es ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Wert und Arbeit, und das Sein wichtiger als das tun. Johannes Müller-Elmau
On Sat, Feb 18, 2006 at 11:55:33AM -0700, Chad Groneman wrote:
I noticed with Beta4 that my partitions outside my fstab are automatically mounted inside the /media folder.
I am seeing this as well. My test machine has quite a few operating systems, and beta4 mounted as many of their partitions as it could under /media (with no fstab entry). Is this the intended behavior? How would someone keep that from happening? -- ====================================================== Glenn Holmer (Linux registered user #16682) ====================================================== "Greater coherence cannot be achieved. Not even the Netherlanders have managed this." -Anton Webern ======================================================
On Sun, Feb 19, 2006 at 07:19:32AM -0600, Glenn Holmer wrote:
On Sat, Feb 18, 2006 at 11:55:33AM -0700, Chad Groneman wrote:
I noticed with Beta4 that my partitions outside my fstab are automatically mounted inside the /media folder.
I am seeing this as well. My test machine has quite a few operating systems, and beta4 mounted as many of their partitions as it could under /media (with no fstab entry). Is this the intended behavior?
Yes.
How would someone keep that from happening?
People are (I hope still) looking for a good replacement for automounting. houghi -- Nutze die zeit. Sie ist das Kostbarste was wir haben, denn es ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Wert und Arbeit, und das Sein wichtiger als das tun. Johannes Müller-Elmau
On Sunday 19 February 2006 14:19, Glenn Holmer wrote:
On Sat, Feb 18, 2006 at 11:55:33AM -0700, Chad Groneman wrote:
I noticed with Beta4 that my partitions outside my fstab are automatically mounted inside the /media folder.
I am seeing this as well. My test machine has quite a few operating systems, and beta4 mounted as many of their partitions as it could under /media (with no fstab entry). Is this the intended behavior? How would someone keep that from happening?
Hal will refuse to mount partitions mentioned in the fstab (not on beta4 yet). cu Ludwig -- (o_ Ludwig Nussel //\ SUSE LINUX Products GmbH, Development V_/_ http://www.suse.de/
On Mon, Feb 20, 2006 at 10:16:03AM +0100, Ludwig Nussel wrote:
Hal will refuse to mount partitions mentioned in the fstab (not on beta4 yet).
So what will be gone? The `/data[X]` and the fstab references, or the /media/disk[Y] reference? Also: is it easy to change the /media/disk[Y] reference? If yes, where? What are the manpages/websites I need to read to better understand the working of this? houghi -- Nutze die zeit. Sie ist das Kostbarste was wir haben, denn es ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Wert und Arbeit, und das Sein wichtiger als das tun. Johannes Müller-Elmau
On Monday 20 February 2006 10:27, houghi wrote:
On Mon, Feb 20, 2006 at 10:16:03AM +0100, Ludwig Nussel wrote:
Hal will refuse to mount partitions mentioned in the fstab (not on beta4 yet).
So what will be gone? The `/data[X]` and the fstab references, or the /media/disk[Y] reference?
I don't know. I guess a bug wants to be filed to clarify.
Also: is it easy to change the /media/disk[Y] reference? If yes, where?
Change the filesystem label. You can also configure the mount point in the tool used to issue the mount request.
What are the manpages/websites I need to read to better understand the working of this?
The hal source code probably. cu Ludwig -- (o_ Ludwig Nussel //\ SUSE LINUX Products GmbH, Development V_/_ http://www.suse.de/
On Mon, Feb 20, 2006 at 10:45:25AM +0100, Ludwig Nussel wrote:
On Monday 20 February 2006 10:27, houghi wrote:
On Mon, Feb 20, 2006 at 10:16:03AM +0100, Ludwig Nussel wrote:
Hal will refuse to mount partitions mentioned in the fstab (not on beta4 yet).
So what will be gone? The `/data[X]` and the fstab references, or the /media/disk[Y] reference?
I don't know. I guess a bug wants to be filed to clarify.
As it says "will refuse" I do not consider it a bug as people are working on it.
Also: is it easy to change the /media/disk[Y] reference? If yes, where?
Change the filesystem label. You can also configure the mount point in the tool used to issue the mount request.
Any pointers would be nice. I understand that there are two programs doing this. One for KDE and one for Gnome, or am I wrong here?
What are the manpages/websites I need to read to better understand the working of this?
The hal source code probably.
OK, so not understandable for me. houghi -- Nutze die zeit. Sie ist das Kostbarste was wir haben, denn es ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Wert und Arbeit, und das Sein wichtiger als das tun. Johannes Müller-Elmau
Hello, Am Samstag, 18. Februar 2006 19:55 schrieb Chad Groneman: [...]
3. My labeled partition seems to get different permissions:
cgroneman@chad2:/media> ll drwxr-xr-x 4 root root 4096 2006-01-04 20:46 disk drwxr-xr-x 26 root root 648 2006-02-17 19:04 disk-1 drwxr-xr-x 24 root root 592 2006-01-31 23:42 disk-2 drwsrwsrwt 6 root root 136 2006-02-17 19:03 STORAGE
Why does STORAGE (the labelled partition) get different permissions than the others?
Good question ;-) I have some questions that might clarify the situation: - What filesystems do you use on the mentioned partitions? - Does / of the STORAGE partition have the permissions you get when it's mounted inside /media? - what's the output of mount ? Regards, Christian Boltz --
[suse-linux Statistik] Hm. Apropos: Was meint ihr, sollte ich 'ratti / Joerg' zusammenfassen? Ja, oder? Ich denke ja schon, aber Ratti ist dagegen. [> David Haller und Jörg Roßdeutscher aka Ratti in sl-etikette]
Hi, answers to questions below each question. On Sunday 19 February 2006 09:06, Christian Boltz wrote:
Hello,
Am Samstag, 18. Februar 2006 19:55 schrieb Chad Groneman: [...]
3. My labeled partition seems to get different permissions:
cgroneman@chad2:/media> ll drwxr-xr-x 4 root root 4096 2006-01-04 20:46 disk drwxr-xr-x 26 root root 648 2006-02-17 19:04 disk-1 drwxr-xr-x 24 root root 592 2006-01-31 23:42 disk-2 drwsrwsrwt 6 root root 136 2006-02-17 19:03 STORAGE
Why does STORAGE (the labelled partition) get different permissions than the others?
Good question ;-)
I have some questions that might clarify the situation: - What filesystems do you use on the mentioned partitions?
All Reiserfs - see output of mount.
- Does / of the STORAGE partition have the permissions you get when it's mounted inside /media?
Yes.
- what's the output of mount ?
cgroneman@chad2:~> mount /dev/hdb7 on / type reiserfs (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/hdb6 on /home type reiserfs (rw,acl,user_xattr) securityfs on /sys/kernel/security type securityfs (rw) /dev/hdb1 on /media/disk type ext3 (rw,noexec,nosuid,nodev) /dev/hdb2 on /media/disk-1 type reiserfs (rw,noexec,nosuid,nodev) /dev/hdb5 on /media/STORAGE type reiserfs (rw,noexec,nosuid,nodev) /dev/sda2 on /media/disk-2 type reiserfs (rw,noexec,nosuid,nodev)
Regards,
Christian Boltz
Thanks, Chad
Hello, Am Montag, 20. Februar 2006 03:37 schrieb Chad Groneman:
On Sunday 19 February 2006 09:06, Christian Boltz wrote:
Am Samstag, 18. Februar 2006 19:55 schrieb Chad Groneman: [...]
3. My labeled partition seems to get different permissions:
cgroneman@chad2:/media> ll drwxr-xr-x 24 root root 592 2006-01-31 23:42 disk-2 drwsrwsrwt 6 root root 136 2006-02-17 19:03 STORAGE
- Does / of the STORAGE partition have the permissions you get when it's mounted inside /media?
Yes.
Then it should be quite simple: chmod 755 /media/STORAGE/ while it is mounted.
cgroneman@chad2:~> mount [...] /dev/hdb1 on /media/disk type ext3 (rw,noexec,nosuid,nodev) /dev/hdb2 on /media/disk-1 type reiserfs (rw,noexec,nosuid,nodev) /dev/hdb5 on /media/STORAGE type reiserfs (rw,noexec,nosuid,nodev) /dev/sda2 on /media/disk-2 type reiserfs (rw,noexec,nosuid,nodev)
Looks OK and doesn't differ between the partitions mounted in /media. Regards, Christian Boltz -- Wahrscheinlich habe ich wieder fürchterlichen Code produziert, aber du bist ja mittlerweile schon beinahe mein persönlicher Codestaubsauger. ;-) [Andreas Schott]
participants (5)
-
Chad Groneman
-
Christian Boltz
-
Glenn Holmer
-
houghi
-
Ludwig Nussel