Source-Changes archive

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

re: CVS commit: src/sbin/newfs



   
   >> Maybe all its names should end in 'a'?
   >
   >    Heh.  That's a workaround at the best.
   >
   >    I think an improvement on the -F flag might be the way to go.  It
   >    appears to want to do the same thing, and the only issue is that it
   >    wants a size specification, which I think would normally not be
   >    necessary.
   >
   > i think it would be best if newfs Just Worked with vinum devices.
   
   No question.  Do you have any suggestion how?  I suppose one way would
   be to ignore errors if you can't get the partition information
   indicated by the last letter.  Another, tacky one would be to
   recognize the path name (/dev/vinum) and go by that.  But that's even
   worse than the -V flag.

i see there is a DIOCGPART ioctl that isn't used anywhere in our
tree but does appear to be supported by all the drivers...perhaps
that could be tried on the as-is name?  (i had a quick look at
the code in newfs, but it wasn't clear how all the partitioning
stuff works.)


.mrg.



Home | Main Index | Thread Index | Old Index