Lauro-

You won't be able to format the floppy from the server, since it is
essentially a network share, not a low-level device.  It would be the same
if you tried to format a network share via SMB or NFS.  You'll need to run
the formatting program on the local terminal itself.  You can script this
with ssh with something like:
ssh term01 mkfs.msdos /dev/fd0

You can get fancier, of course, by getting the current terminal address from
the $DISPLAY environment variable.  Ltsp may have some scripts already to do
this; I don't recall.

The main difficulty I can see will be permissions on the device /dev/fd0.  I
suppose you either configure sudo on the terminals (hard), or add an rc
script that runs during terminal boot to chgrp the group permissions on
/dev/fd0 to a user group (easier).  Just put your shell script in
$LTSP/etc/rc.d and have it called from lts.conf with RCFILE_01=myscript.

-Todd

On 12/7/06, Lauro Costa G. Borges <[EMAIL PROTECTED]> wrote:



Hi,

I can use my floppy drive with no problems, localdev seems to be just
fine. But I have this one problem, kfloppy (which accepts device name as
argument) does not work, tells me a problem occurred with the device. I
set up LOCAL_DEVICE instances on lts.conf, but not working yet. It
doesn't need to be kfloppy, if I can run an old shell script I have in
one of the labs, to properly use mkfs.msdos, that's ok. They're familiar
with that interface to format their floppies.


thanks,

Lauro


--
Esta mensagem foi verificada pelo sistema de antivĂ­rus e
acredita-se estar livre de perigo.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to