public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* LOSETUP COMMAND
@ 2002-01-11 21:03 Michael Zhu
  2002-01-11 21:55 ` jepler
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Zhu @ 2002-01-11 21:03 UTC (permalink / raw)
  To: linux-kernel

Hello, everyone, does anyone know where I can find the
source code of "losetup" and "mount"?  Thanks

Michael

______________________________________________________________________ 
Web-hosting solutions for home and business! http://website.yahoo.ca

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LOSETUP COMMAND
  2002-01-11 21:03 LOSETUP COMMAND Michael Zhu
@ 2002-01-11 21:55 ` jepler
  2002-01-12  7:53   ` Gábor Lénárt
  0 siblings, 1 reply; 3+ messages in thread
From: jepler @ 2002-01-11 21:55 UTC (permalink / raw)
  To: Michael Zhu; +Cc: linux-kernel

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.

Jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LOSETUP COMMAND
  2002-01-11 21:55 ` jepler
@ 2002-01-12  7:53   ` Gábor Lénárt
  0 siblings, 0 replies; 3+ messages in thread
From: Gábor Lénárt @ 2002-01-12  7:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: Michael Zhu

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-12  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-11 21:03 LOSETUP COMMAND Michael Zhu
2002-01-11 21:55 ` jepler
2002-01-12  7:53   ` Gábor Lénárt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox