在卸载的文件夹上创建文件(Create file on unmounted folder)

编程入门 行业动态 更新时间:2024-10-26 09:32:02
在卸载的文件夹上创建文件(Create file on unmounted folder)

如果我们尝试在卸载的文件夹上创建文件会发生什么? 该文件是否在本地系统上创建?

我有一个挂载的文件夹,有时可能会因为原因卸载

我将安排一个在其中写入文件的oracle过程,如果以某种方式卸载该文件夹,会发生什么情况

What happen if we try to create a file on a unmounted folder? Does the file is created on local system?

I have a mounted folder that could sometimes unmount for reasons

I'm going to schedule a oracle procedure that writes a file inside there, what will happen if somehow the folder is unmounted

最满意答案

该文件是否在本地系统上创建?

是。 或者,更好的是,该文件创建该目录中(不要调用文件夹 unix目录... :)),无论该目录在哪里(它可能是已安装的远程文件系统的一部分,在这种情况下,它不是本地系统)。

在目录上写入权限会起到一定的作用,mount命令也可以使用这些权限,但这是另一个复杂的问题。

Does the file is created on local system?

Yes. Or, better, the file is created into that directory (don't call folder unix directories... :)), wherever that directory is (it could be part of a mounted remote file system, in that case it was not part of the local system).

Writing permissions on the directory play a role, and the mount command can also play with those permissions, but this is another, complicated matter.

更多推荐

本文发布于:2023-07-18 11:41:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1159814.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   文件   Create   folder   unmounted

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!