Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 246718 Details for
Bug 336726
baselayout-1_12 (rev. 3163): should check if devpts is already mounted
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rc-devpts-check-if-mounted.patch
rc-devpts-check-if-mounted.patch (text/plain), 942 bytes, created by
Amadeusz Żołnowski (RETIRED)
on 2010-09-10 15:11:31 UTC
(
hide
)
Description:
rc-devpts-check-if-mounted.patch
Filename:
MIME Type:
Creator:
Amadeusz Żołnowski (RETIRED)
Created:
2010-09-10 15:11:31 UTC
Size:
942 bytes
patch
obsolete
>Index: branches/baselayout-1_12/sbin/rc >=================================================================== >--- branches/baselayout-1_12/sbin/rc (revision 3174) >+++ branches/baselayout-1_12/sbin/rc (working copy) >@@ -387,14 +387,18 @@ > fi > > if [[ -d /dev/pts ]] ; then >- ebegin "Mounting devpts at /dev/pts" >- if [[ ${RC_USE_FSTAB} = "yes" ]] ; then >- mntcmd=$(get_mount_fstab /dev/pts) >+ if ! is_mounted /dev/pts devpts; then >+ ebegin "Mounting devpts at /dev/pts" >+ if [[ ${RC_USE_FSTAB} = "yes" ]] ; then >+ mntcmd=$(get_mount_fstab /dev/pts) >+ else >+ unset mntcmd >+ fi >+ try mount -n ${mntcmd:--t devpts devpts /dev/pts -o gid=5,mode=0620,noexec,nosuid} >+ eend $? > else >- unset mntcmd >+ einfo "Skipping mount of /dev/pts as it's already mounted" > fi >- try mount -n ${mntcmd:--t devpts devpts /dev/pts -o gid=5,mode=0620,noexec,nosuid} >- eend $? > fi > fi > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 336726
:
246718
|
248379