Skip to contentSkip to conversation

loop devices removable

DISCUSSION Bodo Eggert 3 participants 3 messages Jun 14, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Pablo Barbachano <[email protected]> wrote:

[loop devices]

Quoted 2 lines

The (probably broken) reason I want to do that is so I can use (my modified) pmount to mount them.

I'm wondering if fuse would be suited better. I did not yet experiment with that, but it seems it has everything you need.

Signature · 4 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.

http://david.woodhou.se/why-not-spf.html
#2 lore raw
Quoted 9 lines · --- Bodo Eggert

Pablo Barbachano <[email protected]> wrote:

[loop devices]

Quoted 2 lines

The (probably broken) reason I want to do that is so I can use (my modified) pmount to mount them.

I'm wondering if fuse would be suited better. I did not yet experiment with that, but it seems it has everything you need.

There is something based on FUSE:
http://lwn.net/Articles/173617/

Which involves UML... doesn't seem a good option to me...

My approach is simpler:
1. Change pmount so it supports loopback devices
2. Change the /dev/loop* group permissions.

You can accomplish 2 by modifying udev rules, the kernel or chgrp directly.
I just wondered if the kernel how the kernel could be changed and why it wouldn't be a good idea.

Cheers,
Pablo

Quoted 11 lines
Signature · 9 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.

http://david.woodhou.se/why-not-spf.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.es

#3 lore raw
Quoted 8 lines · Pablo Barbáchano
Quoted 7 lines · --- Bodo Eggert

Pablo Barbachano <[email protected]> wrote:

[loop devices]

Quoted 2 lines

The (probably broken) reason I want to do that is so I can use (my modified) pmount to mount them.

Quoted 7 lines
Quoted 2 lines

I'm wondering if fuse would be suited better. I did not yet experiment with that, but it seems it has everything you need.

There is something based on FUSE:
http://lwn.net/Articles/173617/

Which involves UML... doesn't seem a good option to me...

I just tried it out, and fuse/uml seems it works out-of-the-box (using a simple mount-like command) while preventing the user from crashing the kernel "using" a corrupt fs image. If you rename the mountlo program to "mount" and put it un the user's path, they won't notice they're using fuse at all, except for not honoring fstab. (Off cause /sbin must come before /usr/local/bin in root's path!)

Signature · 3 lines
Top 100 things you don't want the sysadmin to say:
39. It is only a minor upgrade, the system should be back up in
    a few hours.  ( This is said on a monday afternoon.)