RE: [Cooker] supermount -i enable problem

2001-09-25 Thread Borsenkow Andrej


 
  Yes. I have very old patch (I sent it half a year ago but nobody
  expressed any interest) for supermount that corrects it.
 
 to who ? supermount patch or supermount script ?
 

It was to both but kernel part is not need anymore.

  Well, I always was surprised. IIRC my patch corrected this as well
(i.e.
  it introduced a list of good fs types or like).
  I still have patch here, if anybody (in Mandrake) is still
interested
 
 i'll be more than happy to look at it.

Here is patch for /usr/sbin/supermount. It does add `--' when doing
enable and removes it when doing disable. It does *not* prevent disk
partition being supermounted - the problem is, /usr/bin/supermount does
it for known fs types and one of them is vfat. We could

- check for mount point names but it looks kinda silly
- check if drive is removable. That needs some amount of non-trivial
code that I am not willing to write.

Instead it adds -m=mount-point parameter so you can do

supermount -m=/mnt/cdrom enable 

which is probably enough (after all, you do know which drives are
removable?)

-andrej



 supermount.diff


RE: [Cooker] supermount -i enable problem

2001-09-23 Thread Borsenkow Andrej

 
 1œ/ it doesn't put the --
 Are they still needed ?


Yes. I have very old patch (I sent it half a year ago but nobody
expressed any interest) for supermount that corrects it.

 
 2œ/ it seems not to respect the user flag. Is it implied ?
 

Yes it is correct. You do not use mount command with supermount, you do
not need user flag.

 3œ/ My windows partitions are supermounted !
 

Well, I always was surprised. IIRC my patch corrected this as well (i.e.
it introduced a list of good fs types or like).

I still have patch here, if anybody (in Mandrake) is still interested
...


-andrej