* [gentoo-amd64] mount by UUID
@ 2007-06-25 19:53 Bernhard Auzinger
2007-06-27 20:25 ` Joshua Hoblitt
0 siblings, 1 reply; 6+ messages in thread
From: Bernhard Auzinger @ 2007-06-25 19:53 UTC (permalink / raw
To: gentoo-amd64
Hi,
I recently chose to mount my external hdd's by uuid. I just replaced the
device file (dev/sdxy) by the uuid (UUID=XXXXX...) in my /etc/fstab.
UUID=1ad24afc-f258-4b9e-a2c3-1e34c59562d8 /mnt/hdd_extern_1 reiserfs \
noauto,noatime,notail,user 0 0
UUID=1f0b0c58-7274-41c8-af00-2fbe5f4fbd6f /mnt/hdd_extern_2 reiserfs \
noauto,noatime,notail,user 0 0
As root I can mount and unmount the hdd's without any problem. But as user I
can just mount but not unmount them. If I try to unmount them as user (after
mounting as user, of course) I get a segmentation fault.
Maybe someone can give me a hint, what is going on.
rgds
Brenhard
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] mount by UUID
2007-06-25 19:53 [gentoo-amd64] mount by UUID Bernhard Auzinger
@ 2007-06-27 20:25 ` Joshua Hoblitt
2007-06-27 21:06 ` Bernhard Auzinger
2007-06-27 21:59 ` Bernhard Auzinger
0 siblings, 2 replies; 6+ messages in thread
From: Joshua Hoblitt @ 2007-06-27 20:25 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]
So when you try to run `umount /mnt/hdd_extern_1` as a plain ole user
you get a segfault? If that's the case then I'd say it's probably a bug
in either umount or libuuid. Either way I'm sure the devs would be able
to help you if you file a bug. You should probably include a backtrace
with your bug report.
-J
--
On Mon, Jun 25, 2007 at 09:53:35PM +0200, Bernhard Auzinger wrote:
> Hi,
>
> I recently chose to mount my external hdd's by uuid. I just replaced the
> device file (dev/sdxy) by the uuid (UUID=XXXXX...) in my /etc/fstab.
>
> UUID=1ad24afc-f258-4b9e-a2c3-1e34c59562d8 /mnt/hdd_extern_1 reiserfs \
> noauto,noatime,notail,user 0 0
>
> UUID=1f0b0c58-7274-41c8-af00-2fbe5f4fbd6f /mnt/hdd_extern_2 reiserfs \
> noauto,noatime,notail,user 0 0
>
> As root I can mount and unmount the hdd's without any problem. But as user I
> can just mount but not unmount them. If I try to unmount them as user (after
> mounting as user, of course) I get a segmentation fault.
>
> Maybe someone can give me a hint, what is going on.
>
> rgds
> Brenhard
> --
> gentoo-amd64@gentoo.org mailing list
>
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] mount by UUID
2007-06-27 20:25 ` Joshua Hoblitt
@ 2007-06-27 21:06 ` Bernhard Auzinger
2007-06-27 21:59 ` Bernhard Auzinger
1 sibling, 0 replies; 6+ messages in thread
From: Bernhard Auzinger @ 2007-06-27 21:06 UTC (permalink / raw
To: gentoo-amd64
> So when you try to run `umount /mnt/hdd_extern_1` as a plain ole user
> you get a segfault?
That's exactly what happens.
> If that's the case then I'd say it's probably a bug
> in either umount or libuuid.
Isn't libuuid a part of e2fsprogs?
> Either way I'm sure the devs would be able
> to help you if you file a bug. You should probably include a backtrace
> with your bug report.
Good idea :).
Thank you.
rgds
Bernhard
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] mount by UUID
2007-06-27 20:25 ` Joshua Hoblitt
2007-06-27 21:06 ` Bernhard Auzinger
@ 2007-06-27 21:59 ` Bernhard Auzinger
2007-06-29 20:40 ` Joshua Hoblitt
1 sibling, 1 reply; 6+ messages in thread
From: Bernhard Auzinger @ 2007-06-27 21:59 UTC (permalink / raw
To: gentoo-amd64
I exchanged the UUID=uuid_number with /dev/disks/by-uuid/uuid_number and now
it works. That's funny.
rgds
Bernhard
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] mount by UUID
2007-06-27 21:59 ` Bernhard Auzinger
@ 2007-06-29 20:40 ` Joshua Hoblitt
2007-06-29 22:14 ` Bernhard Auzinger
0 siblings, 1 reply; 6+ messages in thread
From: Joshua Hoblitt @ 2007-06-29 20:40 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
I'd still like to encourage you to file a bug. A segfault is not the
correct way of reporting user error. ;)
-J
--
On Wed, Jun 27, 2007 at 11:59:54PM +0200, Bernhard Auzinger wrote:
> I exchanged the UUID=uuid_number with /dev/disks/by-uuid/uuid_number and now
> it works. That's funny.
>
> rgds
> Bernhard
> --
> gentoo-amd64@gentoo.org mailing list
>
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-amd64] mount by UUID
2007-06-29 20:40 ` Joshua Hoblitt
@ 2007-06-29 22:14 ` Bernhard Auzinger
0 siblings, 0 replies; 6+ messages in thread
From: Bernhard Auzinger @ 2007-06-29 22:14 UTC (permalink / raw
To: gentoo-amd64
Am Freitag 29 Juni 2007 schrieb Joshua Hoblitt:
> I'd still like to encourage you to file a bug. A segfault is not the
> correct way of reporting user error. ;)
>
> -J
Yes you're rigth and I intend to do so. But I'm a little slow these days.
There is so much fine weather and so much mountainbiking I have to do
(because of the nice weather :) ) and so much rest I've to take (because of
the intensive mountainbiking). I think it will take a few days until I'm able
to file the the bug :D. But I will do it.
rgds
Bernhard
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-29 22:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25 19:53 [gentoo-amd64] mount by UUID Bernhard Auzinger
2007-06-27 20:25 ` Joshua Hoblitt
2007-06-27 21:06 ` Bernhard Auzinger
2007-06-27 21:59 ` Bernhard Auzinger
2007-06-29 20:40 ` Joshua Hoblitt
2007-06-29 22:14 ` Bernhard Auzinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox