On Sat, Oct 01, 2005 at 07:17:48PM +0200, Anders Johansson wrote: > The way grub-install does it is > > df `dirname filename| sed -n 's%.*\(/dev/[^ ]*\).*%\1%p' > > I'm looking at the BIOS stuff in grub now to see if I can make a stand-alone > utility out of it
I think I am going in circles here. The above (if you put a backtick in front of |, making it filename`| ) tells me /dev/hdf3. That still does not show me hd3,2 Would be handy if all could be done with one command. :-) Strange that something that should be simple takes so much effort. houghi -- Quote correct (NL) http://www.briachons.org/art/quote/ Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
