[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: autodetecting MBR location



* Goswin Brederlow 

|      > s/[0-9]$//
| 
|      > which will remove 5 from /dev/hda5.
| 
| You forgot /dev/hda17, which would become /dev/hda1 with your syntax.

you are right.

make that regexp a s/[0-9]+$// instead.

-- 

Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.



Reply to: