RE: hardcode supermount hack
"Ben Reuter" <[email protected]>
| Newsgroups | gmane.linux.pxes.devel |
|---|---|
| Message-ID | <000f01c3a331$02291e40$1a60c80a@ITSBJR> |
hardcode supermountEdit the rcS file, usually found at /opt/pxes-0.6/stock/dist/etc/init.d/rcS Look for the part below: # # Configure local devices and services # bootmsg 'Configuring local devices...' ...and insert the following 4 lines after the 'bootmsg' line: #hardcode supermount hack LOCAL_FLOPPY_ENABLED=1 SUPERMOUNT_ENABLED=1 #end hardcode supermount hack If you want CD-rom you'll probably have to add a line like this after LOCAL_FLOPPY_ENABLED=1 LOCAL_DVDCDROM_ENABLED=1 After doing this the drives will always be enabled with supermount. Disclaimer: This solution is not for everyone - we use it because all clients have flopppy drives and we always want them supermounted. Ben. -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Hjønnevåg, Harald Sent: Tuesday, 4 November 2003 9:28 PM To: '[email protected]' Subject: [pxes-devel] hardcode supermount Hi again Thanks for info on how to get supermount to work with ICA, although I still don't get it. Exactly how is it possible to hardcode supermount on? Regards Harald -----Opprinnelig melding----- Fra: Ben Reuter [mailto:[email protected]] Sendt: 2. november 2003 23:08 Til: [email protected] Emne: RE: [pxes-devel] Sound and floppy trouble with ICA in v 0.6.4 You need to patch one of the files to get supermount to work with ICA. This was discussed around Oct 4. The file is the rcS in the PXES tree, diff output from one of the e-mails below, or my quick and dirty alternative is to hardcode supermount on (as we always use it). Ben. >958,961c958 >< modprobe floppy >< FLOPPY=`finddev floppy` >< >< if [ -n "$FLOPPY" ] >--- > > >> if modprobe floppy >> >> >963,969c960 >< if [ "$NBD_SERVER_ENABLED" -eq 1 ] >< then >< while : >< do >< nbd-server $NBD_FLOPPY_PORT $FLOPPY > > >>/dev/null >> >> >< done & >< fi >--- > > >> FLOPPY=`finddev floppy` >> >> >971c962 >< if [ "$SUPERMOUNT_ENABLED" -eq 1 ] >--- > > >> if [ -n "$FLOPPY" ] >> >> >973c964,975 >< mount -t supermount -o dev=$FLOPPY,fs=vfat,--,rw >/mnt/fd /mnt/fd >--- > > >> if [ "$NBD_SERVER_ENABLED" -eq 1 ] >> then >> while : >> do >> nbd-server $NBD_FLOPPY_PORT >>$FLOPPY /dev/null >> done & >> fi >> >> if [ "$SUPERMOUNT_ENABLED" -eq 1 ] >> then >> mount -t supermount -o >> >> >dev=$FLOPPY,fs=vfat,--,rw /mnt/fd /mnt/fd > > >> fi >> -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Hjønnevåg, Harald Sent: Friday, 31 October 2003 7:44 PM To: '[email protected]' Subject: [pxes-devel] Sound and floppy trouble with ICA in v 0.6.4 I have been using PXES for some time as a means to get old PCs up as ICA-clients. Version 0.5.1 works beautifully after having done some minor modifications. After upgrading to version 0.6.4, however, sound does not work, and I am no longer able to automount floppies and CD-roms. Has anyone on this list experience with these issues? regards Harald Hjønnevåg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ pxes-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pxes-devel ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ pxes-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pxes-devel