Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Don't include system virtual filesystems in /etc/fstab (#693926). (http://www.linux-archive.org/centos/514324-dont-include-system-virtual-filesystems-etc-fstab-693926-a.html)

Chris Lumens 04-14-2011 05:57 PM

Don't include system virtual filesystems in /etc/fstab (#693926).
 
systemd handles all that for us now.
---
pyanaconda/storage/__init__.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index e9ee9c1..825da11 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -2362,7 +2362,6 @@ class FSSet(object):
devices = sorted(self.mountpoints.values(),
key=lambda d: d.format.mountpoint)
devices += self.swapDevices
- devices.extend([self.devshm, self.devpts, self.sysfs, self.proc])
netdevs = self.devicetree.getDevicesByInstance(NetworkStorag eDevice)
for device in devices:
# why the hell do we put swap in the fstab, anyway?
--
1.7.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

David Lehman 04-14-2011 06:14 PM

Don't include system virtual filesystems in /etc/fstab (#693926).
 
On Thu, 2011-04-14 at 13:57 -0400, Chris Lumens wrote:
> systemd handles all that for us now.

Ack, but can we also do away with those devices/classes completely now?
I expect they're handled for us in / but not in /mnt/sysimage.

Dave

> ---
> pyanaconda/storage/__init__.py | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
> index e9ee9c1..825da11 100644
> --- a/pyanaconda/storage/__init__.py
> +++ b/pyanaconda/storage/__init__.py
> @@ -2362,7 +2362,6 @@ class FSSet(object):
> devices = sorted(self.mountpoints.values(),
> key=lambda d: d.format.mountpoint)
> devices += self.swapDevices
> - devices.extend([self.devshm, self.devpts, self.sysfs, self.proc])
> netdevs = self.devicetree.getDevicesByInstance(NetworkStorag eDevice)
> for device in devices:
> # why the hell do we put swap in the fstab, anyway?


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Chris Lumens 04-14-2011 06:17 PM

Don't include system virtual filesystems in /etc/fstab (#693926).
 
> > systemd handles all that for us now.
>
> Ack, but can we also do away with those devices/classes completely now?
> I expect they're handled for us in / but not in /mnt/sysimage.

We'd have to come up with a different way to bind mount those things,
and that seems messier than just leaving the classes around.

But yes, if we can come up with something clever then they can go
entirely.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 04:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.