how to change default mounts in linux
my device running on linux and have this mounts
rootfs on / type rootfs (rw)
/dev/root on / type yaffs2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
/dev/mtdblock17 on /usr type yaffs2 (rw,relatime)
/dev/mtdblock10 on /cache type yaffs2 (rw,relatime)
/dev/mtdblock9 on /firmware type yaffs2 (rw,relatime)
/dev/mtdblock16 on /userdb type yaffs2 (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
I want to exchange mtdblock 10 and 17 like this /dev/mtdblock10 on /usr and /dev/mtdblock17 on /cache
I dont know where should I change this default mapping
my fstab file is like this
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
#/dev/mmcblk0p1 /media/card auto defaults 0 0
#/dev/mmcblk0 /media/card auto defaults 0 0
as you can see mtdblock17 and 10 mount somewhere else , I want to know where and how can I change it
linux
add a comment |
my device running on linux and have this mounts
rootfs on / type rootfs (rw)
/dev/root on / type yaffs2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
/dev/mtdblock17 on /usr type yaffs2 (rw,relatime)
/dev/mtdblock10 on /cache type yaffs2 (rw,relatime)
/dev/mtdblock9 on /firmware type yaffs2 (rw,relatime)
/dev/mtdblock16 on /userdb type yaffs2 (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
I want to exchange mtdblock 10 and 17 like this /dev/mtdblock10 on /usr and /dev/mtdblock17 on /cache
I dont know where should I change this default mapping
my fstab file is like this
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
#/dev/mmcblk0p1 /media/card auto defaults 0 0
#/dev/mmcblk0 /media/card auto defaults 0 0
as you can see mtdblock17 and 10 mount somewhere else , I want to know where and how can I change it
linux
See elinuxbook.com/how-to-configure-autofs-automount-in-linux
– DrMoishe Pippik
Feb 1 at 19:02
add a comment |
my device running on linux and have this mounts
rootfs on / type rootfs (rw)
/dev/root on / type yaffs2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
/dev/mtdblock17 on /usr type yaffs2 (rw,relatime)
/dev/mtdblock10 on /cache type yaffs2 (rw,relatime)
/dev/mtdblock9 on /firmware type yaffs2 (rw,relatime)
/dev/mtdblock16 on /userdb type yaffs2 (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
I want to exchange mtdblock 10 and 17 like this /dev/mtdblock10 on /usr and /dev/mtdblock17 on /cache
I dont know where should I change this default mapping
my fstab file is like this
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
#/dev/mmcblk0p1 /media/card auto defaults 0 0
#/dev/mmcblk0 /media/card auto defaults 0 0
as you can see mtdblock17 and 10 mount somewhere else , I want to know where and how can I change it
linux
my device running on linux and have this mounts
rootfs on / type rootfs (rw)
/dev/root on / type yaffs2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
/dev/mtdblock17 on /usr type yaffs2 (rw,relatime)
/dev/mtdblock10 on /cache type yaffs2 (rw,relatime)
/dev/mtdblock9 on /firmware type yaffs2 (rw,relatime)
/dev/mtdblock16 on /userdb type yaffs2 (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
I want to exchange mtdblock 10 and 17 like this /dev/mtdblock10 on /usr and /dev/mtdblock17 on /cache
I dont know where should I change this default mapping
my fstab file is like this
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
#/dev/mmcblk0p1 /media/card auto defaults 0 0
#/dev/mmcblk0 /media/card auto defaults 0 0
as you can see mtdblock17 and 10 mount somewhere else , I want to know where and how can I change it
linux
linux
asked Feb 1 at 18:40
HamidHamid
32
32
See elinuxbook.com/how-to-configure-autofs-automount-in-linux
– DrMoishe Pippik
Feb 1 at 19:02
add a comment |
See elinuxbook.com/how-to-configure-autofs-automount-in-linux
– DrMoishe Pippik
Feb 1 at 19:02
See elinuxbook.com/how-to-configure-autofs-automount-in-linux
– DrMoishe Pippik
Feb 1 at 19:02
See elinuxbook.com/how-to-configure-autofs-automount-in-linux
– DrMoishe Pippik
Feb 1 at 19:02
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1401102%2fhow-to-change-default-mounts-in-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1401102%2fhow-to-change-default-mounts-in-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
See elinuxbook.com/how-to-configure-autofs-automount-in-linux
– DrMoishe Pippik
Feb 1 at 19:02