fsync, sync: does it really do what its supposed to? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I would like to have more clarification on the functionality of sync(8) and fsync functions in Linux (2.6.31). Does it make sure the files are written to the respective storage?

http://linux.die.net/man/8/sync
It does not make sure that files are written to respective storage. It only makes sure that cached/buffered data is flushed to the disk device. It doesn't matter if this is an SD Card or whatever.

Related

Hardlinks in linux command line input [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Hard links cannot span physical devices. Exactly this statement I read while understanding the concept of hard link in Linux. Can anyone help me to understand this ?
A filename, is a pointer to an inode.
So if you're not on the same drive, it's impossible to link a file, because the inodes belongs to a specific disk

Can I view a linux directory in binary mod? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I've learned that linux directory is a file. So can I view it in binary mod like viewing other files with hexdump?
You can dump raw portions of a drive using the dd command and that is about as low level as you can get. You can also use debugfs to do maintenance on the filesystem.

/tmp usage in linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
How I can find out how much /tmp space is required by an application. Generally sometime I see /tmp is full and get error saying not able to write to /tmp. So is there any way to find out how much /tmp space is required by an application ?
There is no way. Programs use /tmp on an ad-hoc basis.

samb.conf: Where is the "security" parameter? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm trying to make files in my linux virtual server browsable from my windows. I'm following the instructions given here: https://help.ubuntu.com/lts/serverguide/samba-fileserver.html
However, I cannot find the security parameter it's talking about. Can I just create that anywhere under the [global]? Or is there a pretty specific place to put it?
Yep, you can just specify the "security=" parameter anywhere in the global section.
https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html

how is the journey of packet in kernel? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I wanted to know what exactly does happen to a packet by the time it goes to a linux kernel, until it comes out of kernel and goes as application layer.
There is a nice paper PATH OF A PACKET IN THE LINUX
KERNEL STACK(pdf), with examples and links to the kernel source code.

Resources