Re: [RFD w/info-PATCH] device arguments from lookup, partion code in userspace

Daniel Phillips (phillips@bonn-fries.net)
Tue, 22 May 2001 11:07:32 +0200


On Monday 21 May 2001 10:14, Lars Marowsky-Bree wrote:
> On 2001-05-19T16:25:47,
>
> Daniel Phillips <phillips@bonn-fries.net> said:
> > How about:
> >
> > # mkpart /dev/sda /dev/mypartition -o size=1024k,type=swap
> > # ls /dev/mypartition
> > base size device type
> > # cat /dev/mypartition/size
> > 1048576
> > # cat /dev/mypartition/device
> > /dev/sda
> > # mke2fs /dev/mypartition
>
> Ek. You want to run mke2fs on a _directory_ ?

Could you be specific about what is wrong with that? Assuming that
this device directory lives on a special purpose filesystem?

> If anything, /dev/mypartition/realdev

Then every fstab in the world has to change, not to mention adding
verbosity to interactive commands.

--
Daniel

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/