linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is there a portable alternative to mount() ?
@ 2007-08-16 16:47 Bryan Christ
  2007-08-16 18:19 ` Glynn Clements
  2007-08-17  6:55 ` Raseel Bhagat
  0 siblings, 2 replies; 4+ messages in thread
From: Bryan Christ @ 2007-08-16 16:47 UTC (permalink / raw)
  To: linux-c-programming

Does anyone know?

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

* Re: Is there a portable alternative to mount() ?
  2007-08-16 16:47 Is there a portable alternative to mount() ? Bryan Christ
@ 2007-08-16 18:19 ` Glynn Clements
  2007-08-17  6:55 ` Raseel Bhagat
  1 sibling, 0 replies; 4+ messages in thread
From: Glynn Clements @ 2007-08-16 18:19 UTC (permalink / raw)
  To: Bryan Christ; +Cc: linux-c-programming


Bryan Christ wrote:

> Is there a portable alternative to mount() ?

In general, no.

Running the "mount" program will work for simple cases (e.g.
"mount <dir>" where <dir> is in /etc/fstab) on most Unix systems.

Beyond that, the names of devices, the types of filesystem which are
supported, etc, are all highly platform specific.

-- 
Glynn Clements <glynn@gclements.plus.com>

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

* Re: Is there a portable alternative to mount() ?
  2007-08-16 16:47 Is there a portable alternative to mount() ? Bryan Christ
  2007-08-16 18:19 ` Glynn Clements
@ 2007-08-17  6:55 ` Raseel Bhagat
  2007-08-17 15:38   ` Bryan Christ
  1 sibling, 1 reply; 4+ messages in thread
From: Raseel Bhagat @ 2007-08-17  6:55 UTC (permalink / raw)
  To: linux-c-programming

On 8/16/07, Bryan Christ <bryan.christ@hp.com> wrote:
> Does anyone know?

Do you mean something like the mount command in Busybox ? It has been
ported for PPC , ARM , MIPS and many more architectures .

Thanks,
Raseel.
http://www.opensorucedeal.com
http://screwgoth.blogspex.com

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

* Re: Is there a portable alternative to mount() ?
  2007-08-17  6:55 ` Raseel Bhagat
@ 2007-08-17 15:38   ` Bryan Christ
  0 siblings, 0 replies; 4+ messages in thread
From: Bryan Christ @ 2007-08-17 15:38 UTC (permalink / raw)
  To: Raseel Bhagat; +Cc: linux-c-programming

Maybe I need to look into the source for Busybox and see what they do. 
What I was looking for though is a portable group of functions similar 
in fucntion to the Linux mount() in sys/mount.h

Raseel Bhagat wrote:
> On 8/16/07, Bryan Christ <bryan.christ@hp.com> wrote:
>> Does anyone know?
> 
> Do you mean something like the mount command in Busybox ? It has been
> ported for PPC , ARM , MIPS and many more architectures .
> 
> Thanks,
> Raseel.
> http://www.opensorucedeal.com
> http://screwgoth.blogspex.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2007-08-17 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-16 16:47 Is there a portable alternative to mount() ? Bryan Christ
2007-08-16 18:19 ` Glynn Clements
2007-08-17  6:55 ` Raseel Bhagat
2007-08-17 15:38   ` Bryan Christ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).