lkml.org 
[lkml]   [2002]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LOSETUP COMMAND
On Fri, Jan 11, 2002 at 03:55:57PM -0600, jepler@unpythonic.dhs.org wrote:
> On Fri, Jan 11, 2002 at 04:03:33PM -0500, Michael Zhu wrote:
> > Hello, everyone, does anyone know where I can find the
> > source code of "losetup" and "mount"? Thanks
>
> If you're using an RPM-based distribution, you can use rpm to find this
> kind of information.
>
> $ rpm -qf /bin/mount
> mount-2.10f-1
>
> Now, get the mount-2.10f-1.src.rpm from your install media, use rpm -ivh to
> install it, then rpm -bp on the installed specfile to recover the actual
> source tree used to build that version of mount.


Or use Debian, and simply say:

apt-get source mount

- Gábor
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.065 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site