How to use a usb-drive / pendrive?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When pluging the pendrive, a message shows:
[ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
[ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through
I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c
to terminate the process?
How to access the media and copy files from and towards it?
Finally how to remove the media safely?
linux usb-drive
add a comment |
When pluging the pendrive, a message shows:
[ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
[ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through
I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c
to terminate the process?
How to access the media and copy files from and towards it?
Finally how to remove the media safely?
linux usb-drive
add a comment |
When pluging the pendrive, a message shows:
[ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
[ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through
I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c
to terminate the process?
How to access the media and copy files from and towards it?
Finally how to remove the media safely?
linux usb-drive
When pluging the pendrive, a message shows:
[ 67.317741] sd 6:0:0:0: [sdb] No Caching mode page found
[ 67.317741] sd 6:0:0:0: [sdb] Assuming drive cache: write through
I don't mind having that message, because that's just the way the media is formatted, and I find it good that the system is reminding this to me, but why after the message shows the CLI stays inside a process there? Should I just press ctrl + c
to terminate the process?
How to access the media and copy files from and towards it?
Finally how to remove the media safely?
linux usb-drive
linux usb-drive
edited Mar 10 at 23:23
mikl
asked May 16 '17 at 17:33
miklmikl
1655
1655
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.
To access data on the drive, you will probably want to mount the drive, for example
mount /dev/sdb /mnt
to view the drive under /mnt
. When done using the drive, you would ensure no processes were accessing the drive, and then
umount /dev/sdb
These commands will probably need to be run with superuser privilege (sudo
). You may also need to specify other options; check the man page.
2
After unmounting, you might also want to do aecho 1 > /sys/block/sdb/device/delete
for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block devicesdb
."
– telcoM
Mar 10 at 23:38
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f365451%2fhow-to-use-a-usb-drive-pendrive%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.
To access data on the drive, you will probably want to mount the drive, for example
mount /dev/sdb /mnt
to view the drive under /mnt
. When done using the drive, you would ensure no processes were accessing the drive, and then
umount /dev/sdb
These commands will probably need to be run with superuser privilege (sudo
). You may also need to specify other options; check the man page.
2
After unmounting, you might also want to do aecho 1 > /sys/block/sdb/device/delete
for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block devicesdb
."
– telcoM
Mar 10 at 23:38
add a comment |
The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.
To access data on the drive, you will probably want to mount the drive, for example
mount /dev/sdb /mnt
to view the drive under /mnt
. When done using the drive, you would ensure no processes were accessing the drive, and then
umount /dev/sdb
These commands will probably need to be run with superuser privilege (sudo
). You may also need to specify other options; check the man page.
2
After unmounting, you might also want to do aecho 1 > /sys/block/sdb/device/delete
for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block devicesdb
."
– telcoM
Mar 10 at 23:38
add a comment |
The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.
To access data on the drive, you will probably want to mount the drive, for example
mount /dev/sdb /mnt
to view the drive under /mnt
. When done using the drive, you would ensure no processes were accessing the drive, and then
umount /dev/sdb
These commands will probably need to be run with superuser privilege (sudo
). You may also need to specify other options; check the man page.
The CLI does not stay 'inside a process'. That kernel messages was displayed on your terminal independent of the shell. You are in effect still at the previous shell prompt; just hit Enter if you want to move to the next line.
To access data on the drive, you will probably want to mount the drive, for example
mount /dev/sdb /mnt
to view the drive under /mnt
. When done using the drive, you would ensure no processes were accessing the drive, and then
umount /dev/sdb
These commands will probably need to be run with superuser privilege (sudo
). You may also need to specify other options; check the man page.
answered May 16 '17 at 17:51
user4556274user4556274
5,48811225
5,48811225
2
After unmounting, you might also want to do aecho 1 > /sys/block/sdb/device/delete
for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block devicesdb
."
– telcoM
Mar 10 at 23:38
add a comment |
2
After unmounting, you might also want to do aecho 1 > /sys/block/sdb/device/delete
for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block devicesdb
."
– telcoM
Mar 10 at 23:38
2
2
After unmounting, you might also want to do a
echo 1 > /sys/block/sdb/device/delete
for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb
."– telcoM
Mar 10 at 23:38
After unmounting, you might also want to do a
echo 1 > /sys/block/sdb/device/delete
for a maximally safe removal. That command effectively tells the kernel "prepare for hot-unplugging of block device sdb
."– telcoM
Mar 10 at 23:38
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f365451%2fhow-to-use-a-usb-drive-pendrive%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