# network vs network-remotefs

**URL:** <https://forums.suse.com/t/network-vs-network-remotefs/22778>\
**Category:** SLES Install-Boot\
**Created:** [June 25, 2012, 10:15pm UTC](https://forums.suse.com/t/network-vs-network-remotefs/22778 "2012-06-25T22:15:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashbyj](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@ashbyj](https://forums.suse.com/u/ashbyj)\
**Post date:** [June 25, 2012, 10:15pm UTC](https://forums.suse.com/t/network-vs-network-remotefs/22778/1 "2012-06-25T22:15:37Z")

</div>

What is the difference between these two services? I see the description, but I don’t fully understand. Is network-remotefs for wireless devices? Or for NFS-dedicated NICs or something?

/etc/init.d/network

```auto
# Description: Configure the localfs depending network interfaces
# and set up routing
```

/etc/init.d/network-remotefs

```auto
# Description: Configure the remote-fs depending network interfaces as
# Wireless and set up routing or start the NetworkManager
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 25, 2012, 10:26pm UTC](https://forums.suse.com/t/network-vs-network-remotefs/22778/2 "2012-06-25T22:26:29Z")

</div>

On Mon, 25 Jun 2012 19:24:01 +0000, ashbyj wrote:  
[color=blue]

> network-remotefs[/color]

remotefs = Remote File System.

Network mounted filesystems can’t start until the network interfaces have  
started. This init script does that. 🙂

## Jim

Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10  
Novell Knowledge Partner

---

<div class="post-metadata">

**Author:** ![ashbyj](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@ashbyj](https://forums.suse.com/u/ashbyj)\
**Post date:** [June 25, 2012, 10:43pm UTC](https://forums.suse.com/t/network-vs-network-remotefs/22778/3 "2012-06-25T22:43:57Z")

</div>

Thanks for the reply Jim. Why isn’t the /etc/init.d/network script sufficient for bringing up all network devices though?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 26, 2012, 12:33am UTC](https://forums.suse.com/t/network-vs-network-remotefs/22778/4 "2012-06-26T00:33:22Z")

</div>

On Mon, 25 Jun 2012 19:44:02 +0000, ashbyj wrote:  
[color=blue]

> Thanks for the reply Jim. Why isn’t the /etc/init.d/network script  
> sufficient for bringing up all network devices though?[/color]

It is, and it does. eth0/wifi/etc are network devices. Network  
filesystems aren’t.

But especially when a boot process uses asynchronous methods to get  
things started more quickly, it’s easier to track the dependencies using  
separate scripts for the network filesystems from the network devices  
themselves.

In the case of wireless interfaces in particular, if you’re using  
NetworkManager (which I wouldn’t on a server anyways), the GUI has to  
start up before the remote filesystems can be mounted.

Jim

–  
Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10  
Novell Knowledge Partner

---

<div class="post-metadata">

**Author:** ![ashbyj](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@ashbyj](https://forums.suse.com/u/ashbyj)\
**Post date:** [June 26, 2012, 6:03pm UTC](https://forums.suse.com/t/network-vs-network-remotefs/22778/5 "2012-06-26T18:03:56Z")

</div>

> [@Jim Henderson;5267](#):
>
> It is, and it does. eth0/wifi/etc are network devices. Network  
> filesystems aren’t.
> 
> But especially when a boot process uses asynchronous methods to get  
> things started more quickly, it’s easier to track the dependencies using  
> separate scripts for the network filesystems from the network devices  
> themselves.

Whats the difference between /etc/init.d/nfs and network-remotefs then? nfs handles starting up all the nfs client services after the network is up and then mounts all the nfs shares in fstab. Sorry for not grasping this…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 26, 2012, 10:46pm UTC](https://forums.suse.com/t/network-vs-network-remotefs/22778/6 "2012-06-26T22:46:09Z")

</div>

On Tue, 26 Jun 2012 15:04:02 +0000, ashbyj wrote:  
[color=blue]

> Whats the difference between /etc/init.d/nfs and network-remotefs then?  
> nfs handles starting up all the nfs client services after the network is  
> up and then mounts all the nfs shares in fstab. Sorry for not grasping  
> this…[/color]

That’s OK, it’s not actually all that clear to me either, the more I look  
at the scripts.

It seems that “network” is responsible for starting/stopping the network  
services.

“network-remotefs” actually just calls the network script with some  
additional parameters. All the logic is actually in the network script.

In the ‘network’ script, I see the following comment on my openSUSE 12.1  
system:

# Under systemd, NetworkManager is started via its

# own .service file, thus never while localfs is set.

# Otherwise, NetworkManager will be started later via

# network-remotefs init script (it is installed in

# /usr, thus depends on already started remotefs).

Let me see if I can find more info about this.

## Jim

Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10  
Novell Knowledge Partner
